#pragma once
#include "AnimationDiagram.h"
#include "Singleton.h"

class EDITORLOGIC_API CAnimationDlgImpl
{
public:
	SINGLETON(CAnimationDlgImpl)

	CAnimationDlgImpl(void);

	~CAnimationDlgImpl(void);

	typedef stdext::hash_map<const char*, CAnimationDiagram> AnimationDiagramContainer;

	typedef stdext::hash_map<const char*, CAnimationDiagram>::iterator AnimationDiagramContainerIterator;

	VOID ActivateDiagram(const char* name);

	VOID SetDiagramToDraw(const char* name);

	BOOL Draw() const;

private:
	BOOL DrawDiagram() const;
	VOID DrawFrameOfAxes() const;

	AnimationDiagramContainer   m_vADC;
	AnimationDiagramContainerIterator m_CurrDiagram;
};
